<script setup>
import Header from "@/components/Header.vue";
import BusList from "@/components/BusList.vue";
import {ref} from "vue";
import processBusData from "@/components/processBusData.js";

let conf=ref({
  showTeacher:false,
  showNoRemain:false,
  date:processBusData.getDateString(new Date()),
  route:0
})
function handleUpdate(conf1){
  conf=conf1;
  // console.log("app.vue:")
  // console.log(conf)
}

</script>

<template>
  <div>
    <a-layout>
      <a-layout-header><Header @modify-conf="handleUpdate"/></a-layout-header>
      <a-layout-content><BusList :conf="conf"/></a-layout-content>
    </a-layout>
  </div>

</template>

<style scoped>

</style>
